package cn.edu.csust.cvs.management.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @Auther: snail
 * @Date: 2021/1/22 00:30
 * @Description: 用户登录请求
 */
@Data
@ApiModel("用户登录请求")
public class UserLoginRequest  {

    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank(message = "用户名不能为空")
    private String usernmae;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
}
